package com.rock.code.provider.inter.service.impl;

import com.rock.code.provider.inter.dao.ProviderInterfaceDao;
import com.rock.code.provider.inter.service.ProviderInterfaceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author zhangli
 * @version V1.0
 * @create 2019-04-12 09:31
 **/
@Service
public class ProviderInterfaceServiceImpl implements ProviderInterfaceService {

    @Resource
    private ProviderInterfaceDao providerInterfaceDao;

    @Override
    public List queryBaseInfoFromKPIDETAIL(Map map) throws Exception {
        List dataList = providerInterfaceDao.queryBaseInfoFromKPIDETAIL(map);
        return dataList;
    }

    @Override
    public List queryInfoFromHisData(Map map) throws Exception {
        List dataList =  providerInterfaceDao.queryInfoFromHisData(map);
        return dataList;
    }

    @Override
    public List queryKpiList(Map map) throws Exception {
        List dataList =  providerInterfaceDao.queryKpiList(map);
        return dataList;
    }

    @Override
    public List queryKpiInfo(Map map) throws Exception {
        List dataList =  providerInterfaceDao.queryKpiInfo(map);
        return dataList;
    }

    @Override
    public List getExtUnitIdInfo(Map map) throws Exception {
        List dataList =  providerInterfaceDao.getExtUnitIdInfo(map);
        return dataList;
    }
}
